package com.gh.pattern.factory.func;

public class FactoryTest {
    public static void main(String[] args) {
        //货比三家
        //不知道谁好谁好谁坏
        //配置，可能会配置错
        Factory factory = new XiaomiFactory();
        System.out.println(factory.getCellPhone());
    }
}
